home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / concat10.zip / CONCAT.DOC next >
Text File  |  1989-05-02  |  1KB  |  40 lines

  1.     TITLE    Concat        v1.0, 1 May 1989
  2.  
  3. Input:
  4.     Read in multiple files (as named on the DOS cmd line).
  5.     Wildcards and full pathing are supported.
  6.     Example:
  7.         CONCAT foob1.txt file*.txt c:\*.bat ..\*.txt >concat.out
  8.  
  9.     will follow standard DOS wildcard rules (expanding "FILE*.TXT",
  10.     "*.BAT", "*.TXT", etc.), copying each file (in the order given)
  11.     to the file "CONCAT.OUT".
  12.  
  13.     (You DO know what that "..\*.TXT" means, don't you?  Yep, that
  14.     works too!)
  15.  
  16. Output:
  17.     To StdOut (e.g., via redirection at the DOS command line),
  18.     with default output the CONsole device (naturally).
  19.  
  20. Notes:
  21.     End of File:  Assumes the first ^Z in each input file is EOF
  22.     (and the rest is garbage), so will discard everything
  23.     after that first ^Z.
  24.  
  25.     Makes no attempt to add terminating CR/LF after input files
  26.     or any other such cleanup.
  27.  
  28.     Does NOT add a ^Z to the end of the output (file).
  29.  
  30. Credits:
  31.     Kegel for his Unix-like assembly language utils (ARGS.ASM
  32.     in KEGELUNX.ARC).
  33.     Keith Petersen for the idea/requirement.
  34.  
  35.  
  36. Released to the public domain
  37. David Kirschbaum
  38. Toad Hall
  39. kirsch@braggvax.ARPA
  40.